﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Konstructor
{
    class Student
    {
        string Name;
        int Curses;
        bool stepuha;
        public Student()
        {
            Name = "Pety";
            Curses = 1;
            stepuha = true;
        }
        public Student(string Name, int Curses, bool stepuha)
        {
            this.Name = Name;
            this.Curses = Curses;
            this.stepuha = stepuha;
        }
        public void GetValue()
        {
            Console.WriteLine("Имя : {0}\n"+"Курс: {1}\n"+"Степендия : {2}",Name,Curses,stepuha);
        }
    }
    class Program
    {
        static void Main(string[] args)
        {
            Student[] s = new Student[4];
          s[0] = new Student();
          s[1] = new Student("Lol",9, false);
          s[2] = new Student();
          s[3]= new Student("Gnom",4,true);

          s[0].GetValue();
          s[1].GetValue();
          s[2].GetValue();
          s[3].GetValue();
            Console.ReadLine();

        }
    }
}
